package com.aaa.dao;

import com.aaa.entity.Product;

import java.util.List;

public interface ProductDao {
    public List<Product> listAll();

    public Integer insert(Product product);

    public Product findByPid(Product pid);

    public Integer update(Product product);

    public Integer delete(Product product);
}
